@extends('layouts.app')

@section("css")
    @yield("admin-css")
@endsection

@section('content')
    <div class="container">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-2">
                    @include('layouts.sidebar')
                </div>
                <div class="col-md-10">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            @yield('admin-content')
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

@section("js")
    <script type="text/javascript">
        $(function () {
            $('div.alert').not('.alert-important').delay(2000).fadeOut(350);
        });
    </script>
    @yield('admin-js')
@endsection